package com.ruoyi.jihuo.domain;

import com.alibaba.fastjson2.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.JhBaseEntity;
import lombok.Data;

import java.util.List;

/**
 * 数据包对象 jh_tm_upload_data
 *
 * @author ruoyi
 * @date 2025-03-27
 */
@Data
public class JhTmUploadData extends JhBaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 数据包名称
     */
    @Excel(name = "数据包名称")
    private String jhDataName;

    /**
     * 数据包数量
     */
    @Excel(name = "数据包数量")
    private int jhNum;


    /**
     * 货品链接(所有链接)
     */
    @Excel(name = "货品链接")
    @TableField(value = "JH_URL", typeHandler = JacksonTypeHandler.class)
    private List<String> jhUrls;
    /**
     * 货品链接(解析成功的链接)
     */
    @Excel(name = "货品链接")
    @TableField(value = "JH_SUCCESS_URL", typeHandler = JacksonTypeHandler.class)
    private List<String> jhSuccessUrls;
    /**
     * 货品链接(解析失败的链接)
     */
    @Excel(name = "货品链接")
    @TableField(value = "JH_FAIL_URL", typeHandler = JacksonTypeHandler.class)
    private List<String> jhFailUrls;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String jhRemark;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

}
